<div class="wrapstep clearfix" init="$clientid">
	<div class="step w3 active" >
		<span class="number">1</span> &nbsp;
		<span class="chinese">填写资料</span>
	</div>
	<div class="step w3"><span class="number">2</span> &nbsp;<span class="chinese">资料认证</span></div>
	<div class="step w3"><span class="number">3</span> &nbsp;<span class="chinese">等待审核</span></div>	
</div>
<hr class="long">

<form class="fourth" name="fourth" ng-submit="fourthConfirm()">
	<div class="identity clearfix">
		<label><span class="must">*</span>法人代表</label>
		<div class="input">
			<input type="text" placeholder="法人代表" name="faren" ng-model="four.faren" required ng-blur="fourth.faren.$dirty=true;">
			<div class="tips ng-hide" ng-show="fourth.faren.$dirty">
				<div class="ng-hide" ng-show="fourth.faren.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.faren.$error.required"></i>
			</div>
		</div>	
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>身份证号</label>
		<div class="input">
			<input type="text" placeholder="身份证号" name="IDcard" ng-model="four.IDcard" required ng-pattern="/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/" ng-blur="fourth.IDcard.$dirty=true;">
			<div class="tips ng-hide" ng-show="fourth.IDcard.$dirty">
				<div class="ng-hide" ng-show="fourth.IDcard.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<div class="ng-hide" ng-show="fourth.IDcard.$error.pattern"><i class="icon icon-error-1 rt-fa"></i>格式错误</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.IDcard.$error.required&&!fourth.IDcard.$error.pattern"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>开户人</label>
		<div class="input">
			<input type="text" placeholder="开户行" name="accholder" ng-model="four.accholder" required ng-blur="fourth.accholder.$dirty=true;">
			<div class="tips ng-hide" ng-show="fourth.accholder.$dirty">
				<div class="ng-hide" ng-show="fourth.accholder.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.accholder.$error.required"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>开户行</label>
		<div class="input">
			<input type="text" placeholder="开户行" name="bank" ng-model="four.bank" required ng-blur="fourth.bank.$dirty=true;">
			<div class="tips ng-hide" ng-show="fourth.bank.$dirty">
				<div class="ng-hide" ng-show="fourth.bank.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.bank.$error.required"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>卡号</label>
		<div class="input">
			<input type="text" placeholder="卡号" name="bankID" ng-model="four.bankID" required ng-pattern="/^\d{16}|\d{19}$/" ng-blur="fourth.bankID.$dirty=true;">
			<div class="tips ng-hide" ng-show="fourth.bankID.$dirty">
				<div class="ng-hide" ng-show="fourth.bankID.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<div class="ng-hide" ng-show="fourth.bankID.$error.pattern"><i class="icon icon-error-1 rt-fa"></i>格式错误</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.bankID.$error.required&&!fourth.bankID.$error.pattern"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>手机号</label>
		<div class="input">
			<input type="tel" name="phone" placeholder="输入手机号" ng-model="four.phone" required ng-pattern="/^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/" ng-blur="fourth.phone.$dirty=true;"/>
			<div class="tips ng-hide" ng-show="fourth.phone.$dirty">
				<div class="ng-hide" ng-show="fourth.phone.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<div class="ng-hide" ng-show="fourth.phone.$error.pattern"><i class="icon icon-error-1 rt-fa"></i>号码格式错误</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.phone.$error.required && !fourth.phone.$error.pattern"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>固定电话(带区号)</label>
		<div class="input">
			<input type="text" placeholder="固定电话" name="telephone" ng-model="four.tel" required ng-pattern="/((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/" ng-blur="fourth.telephone.$dirty=true;">
			<div class="tips ng-hide" ng-show="fourth.telephone.$dirty">
				<div class="ng-hide" ng-show="fourth.telephone.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<div class="ng-hide" ng-show="fourth.telephone.$error.pattern"><i class="icon icon-error-1 rt-fa"></i>格式错误</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.telephone.$error.required&&!fourth.telephone.$error.pattern"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="ser ng-hide" ng-show="identity==2" ng-if="identity==2">
		<div class="identity clearfix">
			<label><span class="must">*</span>公司名称</label>
			<div class="input">
				<input type="text" placeholder="公司名称" name="name" ng-model="four.ser.name" required ng-blur="fourth.name.$dirty=true;">
				<div class="tips ng-hide" ng-show="fourth.name.$dirty">
					<div class="ng-hide" ng-show="fourth.name.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
					<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.name.$error.required"></i>
				</div>
			</div>	
		</div><!-- identity -->
		<div class="identity clearfix">
			<label><span class="must">*</span>经营项目</label>
			<div class="input clearfix">
				<span class="checkbox" ng-repeat="text in four.ser.parray track by $index">
					<input type="checkbox" cbox="project" ng-model="sel" ng-change="change()">
					<i class="icon icon-uselect"></i>
					<span ng-bind="text"></span>
				</span>
				<span class="checkbox other">
					<input type="checkbox">
					<i class="icon icon-uselect"></i>
					其他
					<input type="text" ng-model="four.otherproject">
				</span>
			</div>
		</div><!-- identity -->
		<div class="identity clearfix">
			<label><span class="must">*</span>经营时间(年)</label>
			<div class="input">
				<input type="tel" placeholder="经营时间" name="runtime" ng-model="four.ser.runtime" required ng-blur="fourth.runtime.$dirty=true; numCheck('runtime');" class="runtime" maxlength="2">
				<div class="tips ng-hide" ng-show="fourth.runtime.$dirty">
					<div class="ng-hide" ng-show="fourth.runtime.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
					<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.runtime.$error.required"></i>
				</div>
			</div>
		</div><!-- identity -->
		<div class="identity clearfix">
			<label><span class="must">*</span>经营性质</label>
			<div class="input clearfix">
				<span class="checkbox" ng-repeat="text in four.ser.marray track by $index">
					<input type="checkbox" cbox="mode" ng-model="sel" ng-change="change()">
					<i class="icon icon-uselect"></i>
					<span ng-bind="text"></span>
				</span>
				<span class="checkbox other">
					<input type="checkbox">
					<i class="icon icon-uselect"></i>
					其他
					<input type="text" ng-model="four.othermode">
				</span>
			</div>
		</div><!-- identity -->
		<div class="identity clearfix">
			<label><span class="must">*</span>生产工艺</label>
			<div class="input clearfix">
				<span class="checkbox" ng-repeat="text in four.ser.carray track by $index">
					<input type="checkbox" cbox="craft" ng-model="sel" ng-change="change()">
					<i class="icon icon-uselect"></i>
					<span ng-bind="text"></span>
				</span>
				<span class="checkbox other">
					<input type="checkbox">
					<i class="icon icon-uselect"></i>
					其他
					<input type="text" ng-model="four.ser.othercarray">
				</span>
			</div>
		</div><!-- identity -->
		<div class="identity clearfix">
			<label><span class="must">*</span>生产风格</label>
			<div class="input clearfix">
				<span class="checkbox" ng-repeat="text in four.ser.sarray track by $index">
					<input type="checkbox" cbox="style" ng-model="sel" ng-change="change()">
					<i class="icon icon-uselect"></i>
					<span ng-bind="text"></span>
				</span>
				<span class="checkbox other">
					<input type="checkbox">
					<i class="icon icon-uselect"></i>
					其他
					<input type="text" ng-model="four.ser.otherstyle">
				</span>
			</div>
		</div><!-- identity -->
	</div><!-- 卖家独立 -->
	<div class="identity clearfix">
		<label><span class="must">*</span>选择所在区域</label>
		<div class="input">
			<div class="select">
				<select name="section" ng-model="four.section" required>
					<option value="">请选择区域</option>
					<option value="江浙沪">江浙沪</option>
					<option value="华东区">华东区</option>
					<option value="华南区">华南区</option>
					<option value="华中区">华中区</option>
					<option value="华北区">华北区</option>
					<option value="北京">北京</option>
					<option value="上海">上海</option>
					<option value="天津">天津</option>
					<option value="重庆">重庆</option>
					<option value="海外">海外</option>
				</select>
				<i class="t-1"></i>
				<i class="t-2"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>选择所在省市区</label>
		<div class="input">
			<div class="select">
				<select name="province" ng-model="four.regionP" required ng-change="changeC()">
					<option value="">请选择省</option>
					<option value="{{p}}" ng-repeat="p in region.p" ng-bind="p"></option>
				</select>
				<i class="t-1"></i>
				<i class="t-2"></i>
			</div>
			<div class="select">
				<select name="city" ng-model="four.regionC" required ng-change="changeA()">
					<option value="">请选择市</option>
					<option value="{{c}}" ng-repeat="c in region.c[four.regionP]" ng-bind="c"></option>
				</select>
				<i class="t-1"></i>
				<i class="t-2"></i>
			</div>
			<div class="select">
				<select name="area" ng-model="four.regionA" required>
					<option value="">请选择区/县</option>
					<option value="{{a}}" ng-repeat="a in region.a[four.regionC]" ng-bind="a"></option>
				</select>
				<i class="t-1"></i>
				<i class="t-2"></i>
			</div>
		</div>
	</div><!-- identity -->
	<div class="identity clearfix">
		<label><span class="must">*</span>详细地址</label>
		<div class="input">
			<input type="text" placeholder="详细地址" required name="address" ng-model="four.address" ng-blur="fourth.address.$dirty=true;" class="add-detail">
			<div class="tips address ng-hide" ng-show="fourth.address.$dirty">
				<div class="ng-hide" ng-show="fourth.address.$error.required"><i class="icon icon-error-1 rt-fa"></i>不能为空</div>
				<div class="ng-hide" ng-show="fourth.address.$error.pattern"><i class="icon icon-error-1 rt-fa"></i>格式错误</div>
				<i class="icon icon-right-2 rt-fa ng-hide" ng-show="!fourth.address.$error.required&&!fourth.address.$error.pattern"></i>
			</div>
		</div>
	</div><!-- identity -->
	<button type="submit">确认并提交</button>
	<a href="" onclick="history.go(-1)" class="his-back">后退</a>
</form>